import Vue from 'vue'
import App from './App.vue'
import router from './router'
import store from './store'
import Vant from 'vant'
import 'vant/lib/index.css'
import '@/assets/iconfont/iconfont.js'
import '@/assets/iconfont/iconfont.css'
import AmapVue from '@amap/amap-vue'
Vue.config.productionTip = false
Vue.use(Vant)
AmapVue.config.version = '2.0' // 默认2.0，这里可以不修改
AmapVue.config.key = '8c40ccef18a8dc7db010d50ba212ec2c'
AmapVue.config.plugins = [
  'AMap.ToolBar',
  'AMap.MoveAnimation'
  // 在此配置你需要预加载的插件，如果不配置，在使用到的时候会自动异步加载
]
Vue.use(AmapVue)
new Vue({
  router,
  store,
  render: h => h(App)
}).$mount('#app')
